package com.module.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.module.framework.domain.Role;
import com.module.framework.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author JiHuiQin
 * @Date 2022/3/2 19:54
 * @Version 1.0
 */

@Repository
public interface RoleMapper extends BaseMapper<Role> {
	List<Role> getRoleList(Integer pageNum, Integer pageSize, String name);

	Integer getTotal(String name);
}
